home *** CD-ROM | disk | FTP | other *** search
/ SGI Performance Co-Pilot 1.3 / SGI Performance Co-Pilot 1.3.iso / dist / dist6.4 / pcp.idb / usr / share / catman / u_man / cat1 / pmnsmerge.z / pmnsmerge
Text File  |  1997-04-03  |  5KB  |  131 lines

  1.  
  2.  
  3.  
  4. PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))                                                      PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppmmmmnnnnssssmmmmeeeerrrrggggeeee - merge multiple versions of a Performance Co-Pilot PMNS
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ppppccccpppp////bbbbiiiinnnn////ppppmmmmnnnnssssmmmmeeeerrrrggggeeee [ ----aaaaddddffffvvvv ] _i_n_f_i_l_e [...]  _o_u_t_f_i_l_e
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      ppppmmmmnnnnssssmmmmeeeerrrrggggeeee merges multiple instances of a Performance Metrics Name Space
  16.      (PMNS), as used by the components of the Performance Co-Pilot (PCP).
  17.  
  18.      Each _i_n_f_i_l_e argument names a file that includes the root of a PMNS, of
  19.      the form
  20.                root {
  21.                    /* arbitrary stuff */
  22.                }
  23.      The order in which the _i_n_f_i_l_e files are processed is determined by the
  24.      presence or absence of embedded control lines of the form #define
  25.      _DATESTAMP YYYYMMDD
  26.  
  27.      Files without a control line are processed first and in the order they
  28.      appear on the command line.  The other files are then processed in order
  29.      of ascending _DATESTAMP.
  30.  
  31.      The ----aaaa option suppresses the argument re-ordering and processes all files
  32.      in the order they appear on the command line.
  33.  
  34.      The merging proceeds by matching names in PMNS, only those nnnneeeewwww names in
  35.      each PMNS are considered, and these are added after any existing metrics
  36.      with the longest possible matching prefix in their names.  For example,
  37.      merging these two input PMNS
  38.                root {                    root {
  39.                                              surprise  1:1:3
  40.                    mine       1:1:1          mine      1:1:1
  41.                    foo                       foo
  42.                                              yawn
  43.                    yours      1:1:2
  44.                }                         }
  45.                foo {                     foo {
  46.                    fumble     1:2:1
  47.                                              mumble    1:2:3
  48.                    stumble    1:2:2          stumble   1:2:2
  49.                }                         }
  50.                                          yawn {
  51.                                              sleepy    1:3:1
  52.                                          }
  53.  
  54.      Produces the resulting PMNS in _o_u_t.
  55.                root {
  56.                    mine      1:1:1
  57.  
  58.  
  59.  
  60.                                                                         PPPPaaaaggggeeee 1111
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))                                                      PPPPMMMMNNNNSSSSMMMMEEEERRRRGGGGEEEE((((1111))))
  68.  
  69.  
  70.  
  71.                    foo
  72.                    yours     1:1:2
  73.                    surprise  1:1:3
  74.                    yawn
  75.                }
  76.                foo {
  77.                    fumble    1:2:1
  78.                    stumble   1:2:2
  79.                    mumble    1:2:3
  80.                }
  81.                yawn {
  82.                    sleepy    1:3:1
  83.                }
  84.  
  85.      To avoid accidental over-writing of PMNS files, _o_u_t_f_i_l_e is expected to
  86.      not exist when ppppmmmmnnnnssssmmmmeeeerrrrggggeeee starts.  The ----ffff option forces the removal of
  87.      _o_u_t_f_i_l_e (if it exists), before the check is made.
  88.  
  89.      The ----dddd option allows the resultant PMNS to optionally contain duplicate
  90.      PMIDs with different names in the PMNS.  By default this condition is
  91.      considered an error.
  92.  
  93.      The ----vvvv option produces one line of diagnostic output as each _i_n_f_i_l_e is
  94.      processed.
  95.  
  96.      Once all of the merging has been completed, ppppmmmmnnnnssssmmmmeeeerrrrggggeeee will attempt to
  97.      compile the resultant namespace using ppppmmmmnnnnssssccccoooommmmpppp(1) - if this fails for any
  98.      reason, _o_u_t_f_i_l_e will still be created, but ppppmmmmnnnnssssmmmmeeeerrrrggggeeee will report the
  99.      problem and exit with non-zero status.
  100.  
  101. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  102.      ppppmmmmnnnnssssccccoooommmmpppp(1), ppppmmmmnnnnssssaaaadddddddd(1), ppppmmmmnnnnssssddddeeeellll(1) and ppppmmmmnnnnssss(4).
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.                                                                         PPPPaaaaggggeeee 2222
  127.  
  128.  
  129.  
  130.